/*
 * 文件名：OrganPOJO.java
 * 版权：Copyright 2012-2016 YLINK Tech. Co. Ltd. All Rights Reserved. 
 * 描述： OrganPOJO.java
 * 修改人：lizhi 1708029
 * 修改时间：2019年6月5日
 * 修改内容：新增
 */
package com.lizhi.yun.db.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Title:  OrganPOJO.java
 * @Package: com.cloud.web.organ.pojo.OrganPOJO.java
 * @Description: 
 * @Company: ylink
 * @author  lizhi 
 * @date  2019年6月5日 下午3:21:19
 */
@Setter
@Getter
@ToString
public class UppOrganPOJO {

	private String organId;

	private String organNm;

	private Integer organOdr;

	private String bkOrganId;

	private String bkOrganNm;

	private String parentOrganId;

	private String stopTm;

	private String state;

	private String stateText;

	private String createUserAcct;

	private String istTm;

	private String updTm;


	public String getStateText() {
		if ("1".equals(this.state)){
			this.stateText = "正常";
		} else if ("2".equals(this.state)){
			this.stateText = "停用";
		}
		return stateText;
	}
}
